<!DOCTYPE html>
<html>
	<!--登陆-->
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>登陆</title>
		<link rel="stylesheet" type="text/css" href="skin/css/reset.css"/>
		<style type="text/css">
			#app{
				width: 100%;
				height: 100%;
				padding: 0;
				background: url(skin/img/index-bg.png) no-repeat center center;
				background-size: 100% 100%;
			}
			.logo{
				position: absolute;
				top:8vh;
				height: 80px;
				width: 100%;
				background: url(skin/img/logo.png) no-repeat center center;
				background-size: 80px 80px; 
			}
			.btn-wrap{
				position: absolute;
				bottom: 10vh;
				width: 100%;
				display: flex;
				justify-content: space-between;
			}			
			.btn-wrap >button{
				height: 36px;
				flex: 1 1 0;
				margin: 0 25px;
				border: 1px solid #eee;
				border-radius: 20px;
				text-align: center;
				line-height: 36px;
				background: transparent;
				color: white;
				opacity: .6;
				outline: none;
				/* border: none; */
			}
		</style>
	</head>
	
	
	<body>
		<div id="app">
			<div class="logo">
				
			</div>
			<div class='btn-wrap'>
				<button @click='creMon'>创建钱包</button>
				<button @click='impMon'>导入钱包</button>
			</div>
		</div>
		<script src="skin/js/indexBack.js" type="text/javascript" charset="utf-8"></script>
		<script src="skin/js/jquery-3.3.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="skin/js/vue.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="skin/js/comm.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			var app=new Vue({
				el:'#app',
				methods:{
					//创建钱包
					creMon:function(){
						var style=viewTitle(true,'#3573fa','','#ffffff'); 
						plus.webview.open( 'create-wallet.html', 'createWallet' ,{},'slide-in-right');
					},
					//导入钱包
					impMon:function(){
						plus.webview.open('import-wallet.html','importWallet',{},'slide-in-right');
					}
				}
			});
		</script>
	</body>
</html>


